home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1995 #5 & #6 / Amiga Plus CD - 1995 - No. 5 and 6.iso / tex / config / dviprint.printers < prev    next >
Text File  |  1994-05-20  |  26KB  |  978 lines

  1. ;
  2. ; $VER: DVIprint.printers 1.20 (20.05.94)
  3. ;
  4. ; This file defines all printers which use DVIprints fast hardcopy routines.
  5. ;
  6. ; The Generic, SLM804 (Atari only), DeskJet/LaserJet  printers are not defined here,
  7. ; as they use special routines in DVIprint. However the description keywords
  8. ; may be used here too for these printers.
  9. ;
  10. ;
  11. ; List of keywords:
  12. ;
  13. ;printer    <name>            (required)
  14. ;draft        on/off            (optional)
  15. ;optimize    on/off            (optional)
  16. ;            (if not given, command line arguments don't matter)
  17. ;
  18. ; The above keywords must *precede* the following ones:
  19. ;
  20. ;resolution    <res> or <resx/rexy>    (required)
  21. ;gfx_str    <bytes>            (required, ex. 27 * 3 LOW HIGH)
  22. ;skip_str    <bytes>            (required, ex. 27 J LOW)
  23. ;skips        <bytes>            (required, ex. 1 1 22)
  24. ;height        <value>            (required, ex. 24)
  25. ;blank        <method>        (required, SPACES, POINT or GFX)
  26. ;            (the internal bitmap height is a multiple of
  27. ;            this value)
  28. ;grouping    <value>            (required, 1 or 3 for 8 or 24 pins)
  29. ;
  30. ;paper_width    <value>            (required, ex. 8.0in)
  31. ;            (width in some TeX dimension (same as for
  32. ;            specifying offsets in DVIprint or ShowDVI))
  33. ;init_str    <bytes>            (optional, ex. 27 @)
  34. ;exit_str    <bytes>            (optional, ex. 27 @)
  35. ;ID_str        <string>        (optional)
  36. ;prtbuffer    <value>            (optional)
  37. ;
  38. ;description    <no parameter>        (optional)
  39. ;            (starts a description of the current
  40. ;            configuration. This description is dumped to
  41. ;            the screen if the 'ShowPrinters' option of
  42. ;            DVIprint is selected together with a printer
  43. ;            name.)
  44. ;end_desc    <no parameter>        (required to end a description)
  45. ;#                    (required, ends definition)
  46. ;
  47. ;
  48. ; The following is allowed in a <bytes> argument:
  49. ;    o decimal number    (e.g. 27 for ESC)
  50. ;    o 0xhex number        (e.g. 0x1b for ESC)
  51. ;    o 'ascii character'    for the numbers 0-9. (e.g. '3')
  52. ;    o ESC            value 27
  53. ;    o FS            value 28
  54. ;    o LOW, HIGH        inserts numerical argument in gfx_str
  55. ;        and skip_str commands, low or high byte.
  56. ;    o NR100, NR10, NR1    inserts numerical argument in gfx_str
  57. ;        and skip_str commands.
  58. ;        E.g. "251" -> NR100 == 2, NR10 == 5, NR1 == 1
  59. ;
  60. ; BUGS: ';' is not valid. ; serve as a comment delimiter,
  61. ;        use 59 or 0x3B instead.
  62. ;
  63. ; Valid separators are spaces, tabs and commas.
  64. ;
  65. ; The optimize and draft switches have no internal use, they only
  66. ; allow the user to switch quickly between different printing
  67. ; methods, resolutions or whatever. For example, `optimize' may
  68. ; determine the blanking method, and `draft' the resolution.
  69. ;
  70. ; init_str can use the LOW character. The value passed will be the
  71. ; number of 'pica' wide characters that fit on a line. This value is
  72. ; computed from paper_width. Note that most printer can only print
  73. ; over 8 inch, even though US paper is 8.5 inch wide. The correct
  74. ; value to set for paper_width is nevertheless 8.0in.
  75. ;
  76. ; Be very careful when modifying these values! You could meet the GURU.
  77. ;
  78. ; A more complete description of all the keywords is given at the end
  79. ; of this file. Please look at the configurations below first to get an
  80. ; idea of what you can do.
  81.  
  82. ; These are true 360/360 dpi 24 pin printers
  83. printer        NECP6
  84. draft        off
  85. ;optimize    on    ; any choice
  86. resolution    360
  87. ID_str        NEC P6 360dpi (POINT)
  88. description
  89. This is your favorite NEC P6 printer driver. You should use the option
  90. 'unidir off' too.
  91. end_desc
  92. gfx_str        FS 'Z' LOW HIGH
  93. skip_str    FS '3' LOW 10
  94. skips        1 47
  95. height        48
  96. blank        POINT
  97. grouping    3
  98. init_str    ESC 'P' 13 ESC 'O' ESC 'l' 0x0 ESC 'Q' LOW
  99. exit_str    13 ESC 48
  100. paper_width    8.0in
  101. #
  102.  
  103. ; Use these as NEC and EpsonLQ 180dpi (draft) modes
  104. ; All these entries are the same, exception taken from the blanking method.
  105.  
  106. printer        NECP6
  107. draft        on
  108. ;optimize    on
  109. ID_str        NECP6/LQ 180dpi (POINT)
  110. resolution    180
  111. gfx_str        ESC '*' 39 LOW HIGH
  112. skip_str    13 ESC 'J' LOW
  113. skips        24
  114. height        24
  115. blank        POINT
  116. grouping    3
  117. init_str    ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
  118. exit_str    13
  119. paper_width    8.0in
  120. #
  121.  
  122. ; These are 360/180 dpi 24 pin printers
  123. printer        NECP6draft
  124. ;draft        off
  125. ;optimize    on    ; any choice
  126. resolution    360/180
  127. ID_str        NEC P6 360x180dpi (POINT)
  128. description
  129. This is a NEC P6 driver for 360x180dpi. This needs only on pass.
  130. end_desc
  131. gfx_str        ESC '*' 40 LOW HIGH
  132. skip_str    ESC '3' LOW 10
  133. skips        24
  134. height        24
  135. blank        POINT
  136. grouping    3
  137. init_str    ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
  138. exit_str    13 ESC 48
  139. paper_width    8.0in
  140. #
  141.  
  142. printer        NECP6c
  143. draft        off
  144. optimize    on
  145. ID_str        NEC P6 360dpi (SPACES)
  146. description
  147. Some compatibles printer's heads *do* backstep when using the ESC '$'
  148. `move to point' command. If this is not the case for your printer, you
  149. should use the NECP6c printer driver, which use either the SPACES or
  150. the GFX blanking method as defined below, instead of the regular POINT
  151. method above. The Citizen Swift 24 is known to required this
  152. configuration: great speed loss occurs while the printer's head moves
  153. back *and* forth on the same line with the POINT method. 
  154. end_desc
  155. resolution    360
  156. gfx_str        FS 'Z' LOW HIGH
  157. skip_str    FS '3' LOW 10
  158. skips        1 47
  159. height        48
  160. blank        SPACES
  161. grouping    3
  162. init_str    ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
  163. exit_str    13 ESC '0'
  164. paper_width    8.0in
  165. #
  166.  
  167. printer        NECP6c
  168. draft        on
  169. optimize    on
  170. ID_str        NECP6/LQ 180dpi (SPACES)
  171. resolution    180
  172. gfx_str        ESC '*' 39 LOW HIGH
  173. skip_str    13 ESC 'J' LOW
  174. skips        24
  175. height        24
  176. blank        SPACES
  177. grouping    3
  178. init_str    ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
  179. exit_str    13
  180. paper_width    8.0in
  181. #
  182.  
  183. printer        NECP6c
  184. draft        off
  185. optimize    off
  186. resolution    360
  187. ID_str        NEC P6 360dpi (GFX)
  188. gfx_str        FS 'Z' LOW HIGH
  189. skip_str    FS '3' LOW 10
  190. skips        1 47
  191. height        48
  192. blank        GFX
  193. grouping    3
  194. init_str    ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
  195. exit_str    13 ESC '0'
  196. paper_width    8.0in
  197. #
  198.  
  199. printer        NECP6c
  200. draft        on
  201. optimize    off
  202. ID_str        NECP6/LQ 180dpi (GFX)
  203. resolution    180
  204. gfx_str        ESC '*' 39 LOW HIGH
  205. skip_str    13 ESC 'J' LOW
  206. skips        24
  207. height        24
  208. blank        GFX
  209. grouping    3
  210. init_str    ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
  211. exit_str    13
  212. paper_width    8.0in
  213. #
  214.  
  215. printer         STYLUS
  216. draft           off
  217. ;optimize       on      ; any choice
  218. resolution      360
  219. ID_str          EPSON Stylus 800 360dpi (POINT)
  220. description
  221. EPSON Stylus 800 printer driver.
  222. Prints 360 * 360 dpi in one pass using 48 dots.
  223. (From: "Oliver Knorr" <olk@johann.nbg.sub.org>)
  224. end_desc
  225. gfx_str         ESC '*' 73 LOW HIGH
  226. skip_str        13 ESC 'J' LOW
  227. skips           24
  228. height          48
  229. blank           POINT
  230. grouping        6
  231. init_str        ESC 'P' 18 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
  232. exit_str        13
  233. paper_width     8.0in
  234. #
  235.  
  236. printer         STYLUS
  237. draft           on
  238. ;optimize       on      ; any choice
  239. resolution      360
  240. ID_str          EPSON Stylus 800 360dpi (POINT)
  241. description
  242. EPSON Stylus 800 economy printer driver.
  243. Prints 360 * 360 dpi in one pass using 48 dots.
  244. Econoy mode is not faster than standard mode,
  245. but uses less ink for a cheaper draft output.
  246. (From: "Oliver Knorr" <olk@johann.nbg.sub.org>)
  247. end_desc
  248. gfx_str         ESC '*' 72 LOW HIGH
  249. skip_str        13 ESC 'J' LOW
  250. skips           24
  251. height          48
  252. blank           POINT
  253. grouping        6
  254. init_str        ESC 'P' 18 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
  255. exit_str        13
  256. paper_width     8.0in
  257. #
  258.  
  259.  
  260.  
  261. printer        LQ
  262. draft        off
  263. optimize    on
  264. ID_str        Epson LQ 360/180dpi (SPACES)
  265. description
  266. This is for 360/180 24 pin printers like the Epson LQ 800
  267. end_desc
  268. resolution    360/180
  269. gfx_str        ESC '*' 40 LOW HIGH
  270. skip_str    13 ESC 'J' LOW
  271. skips        24
  272. height        24
  273. blank        SPACES
  274. grouping    3
  275. init_str    ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
  276. exit_str    13
  277. paper_width    8.0in
  278. #
  279.  
  280. printer        LQ
  281. draft        off
  282. optimize    off
  283. resolution    360/180
  284. ID_str        Epson LQ 360/180dpi (GFX)
  285. gfx_str        ESC '*' 40 LOW HIGH
  286. skip_str    13 ESC 'J' LOW
  287. skips        24
  288. height        24
  289. blank        GFX
  290. grouping    3
  291. init_str    ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
  292. exit_str    13
  293. paper_width    8.0in
  294. #
  295.  
  296. printer        LQd
  297. draft        off
  298. ;optimize    on
  299. ID_str        Epson LQ 360/180dpi (POINT)
  300. description
  301. Try this and see if your printer's head backsteps or not. Don't use
  302. this with the Epson LQ 800 for example.
  303. end_desc
  304. resolution    360/180
  305. gfx_str        ESC '*' 40 LOW HIGH
  306. skip_str    13 ESC 'J' LOW
  307. skips        24
  308. height        24
  309. blank        POINT
  310. grouping    3
  311. init_str    ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
  312. exit_str    13
  313. paper_width    8.0in
  314. #
  315.  
  316. ; Epson FX (9 pin printer) and compatibles
  317.  
  318. printer        FX
  319. draft        off
  320. ;optimize    off    ; any choice
  321. ID_str        9 pin printer 240/216dpi (POINT)
  322. description
  323. Use this configuration if your printer's head does *not* backstep when
  324. using the ESC '$' `move to point' command as used here. Otherwise use
  325. some 'FXc' type configuration
  326. end_desc
  327. resolution    240/216
  328. gfx_str        ESC '*' 3 LOW HIGH
  329. skip_str    13 ESC 'J' LOW
  330. skips        1 1 22
  331. height        24
  332. blank        POINT
  333. grouping    1
  334. init_str    ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
  335. exit_str    13
  336. paper_width    8.0in
  337. prtbuffer    5000
  338. #
  339.  
  340. printer        FXc
  341. draft        off
  342. optimize    on
  343. ID_str        9 pin printer 240/216dpi (SPACES)
  344. resolution    240/216
  345. gfx_str        ESC '*' 3 LOW HIGH
  346. skip_str    13 ESC 'J' LOW
  347. skips        1 1 22
  348. height        24
  349. blank        SPACES
  350. grouping    1
  351. init_str    ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
  352. exit_str    13
  353. paper_width    8.0in
  354. prtbuffer    5000
  355. description
  356. This is the standard driver for 9 pin FX compatible printers like the
  357. the Star SG 10 printers, if these do not know the ESC $ command or
  358. backstep when using it.
  359. end_desc
  360. #
  361.  
  362. printer        FXc
  363. draft        off
  364. optimize    off
  365. ID_str        9 pin printer 240/216dpi (GFX)
  366. resolution    240/216
  367. gfx_str        ESC '*' 3 LOW HIGH
  368. skip_str    13 ESC 'J' LOW
  369. skips        1 1 22
  370. height        24
  371. blank        GFX
  372. grouping    1
  373. init_str    ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
  374. exit_str    13
  375. paper_width    8.0in
  376. prtbuffer    5000
  377. #
  378.  
  379.  
  380. printer        LQ
  381. draft        on
  382. optimize    on
  383. ID_str        LQ 180dpi (SPACES)
  384. resolution    180
  385. gfx_str        ESC '*' 39 LOW HIGH
  386. skip_str    13 ESC 'J' LOW
  387. skips        24
  388. height        24
  389. blank        SPACES
  390. grouping    3
  391. init_str    ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
  392. exit_str    13
  393. paper_width    8.0in
  394. #
  395.  
  396. printer        LQ
  397. draft        on
  398. optimize    off
  399. ID_str        LQ 180dpi (GFX)
  400. resolution    180
  401. gfx_str        ESC '*' 39 LOW HIGH
  402. skip_str    13 ESC 'J' LOW
  403. skips        24
  404. height        24
  405. blank        GFX
  406. grouping    3
  407. init_str    ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
  408. exit_str    13
  409. paper_width    8.0in
  410. #
  411.  
  412. printer        LQd
  413. draft        on
  414. optimize    off
  415. ID_str        LQ 180dpi (POINT)
  416. resolution    180
  417. gfx_str        ESC '*' 39 LOW HIGH
  418. skip_str    13 ESC 'J' LOW
  419. skips        24
  420. height        24
  421. blank        POINT
  422. grouping    3
  423. init_str    ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
  424. exit_str    13
  425. paper_width    8.0in
  426. #
  427.  
  428. ; 9 pin draft modes.
  429.  
  430. printer        FX
  431. draft        on
  432. optimize    on
  433. ID_str        9 pin printer 120/72dpi (POINT)
  434. description
  435.   You could imagine a 120/144 or 72/72 draft mode...
  436. end_desc
  437. resolution    120/72
  438. gfx_str        ESC '*' 1 LOW HIGH
  439. skip_str    13 ESC 'J' LOW
  440. skips        24
  441. height        8
  442. blank        POINT
  443. grouping    1
  444. init_str    ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
  445. exit_str    13
  446. paper_width    8.0in
  447. prtbuffer    5000
  448. #
  449.  
  450. printer        FXc
  451. draft        on
  452. optimize    on
  453. ID_str        9 pin printer 120/72dpi (SPACES)
  454. description
  455.   You could imagine a 120/144 or 72/72 draft mode...
  456. end_desc
  457. resolution    120/72
  458. gfx_str        ESC '*' 1 LOW HIGH
  459. skip_str    13 ESC 'J' LOW
  460. skips        24
  461. height        8
  462. blank        SPACES
  463. grouping    1
  464. init_str    ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
  465. exit_str    13
  466. paper_width    8.0in
  467. prtbuffer    5000
  468. #
  469.  
  470. printer        FXc
  471. draft        on
  472. optimize    off
  473. ID_str        9 pin printer 120/72dpi (GFX)
  474. resolution    120/72
  475. gfx_str        ESC '*' 1 LOW HIGH
  476. skip_str    13 ESC 'J' LOW
  477. skips        24
  478. height        8
  479. blank        GFX
  480. grouping    1
  481. init_str    ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
  482. exit_str    13
  483. paper_width    8.0in
  484. prtbuffer    5000
  485. #
  486.  
  487. ; these are the internal printer drivers. This file is only read for
  488. ; their description, not settings
  489.  
  490. printer GENERIC
  491. description
  492. This driver uses your preferences printer. You can override the
  493. density with the DENSITY/-O switch. The optimize and draft switches
  494. have no meaning with this printer.
  495. end_desc
  496. #
  497.  
  498. printer DeskJet
  499. optimize    on
  500. description
  501. This driver is for the HP DeskJet. If you are using WB2.0 or the WB
  502. 1.3.3 parallel.device you may use the `turbo' (-T) option to get more
  503. speed. Use the compression mode.
  504. end_desc
  505. #
  506.  
  507. printer DeskJet
  508. optimize    off
  509. description
  510. This driver is for the HP DeskJet. If you are using WB2.0 or the WB
  511. 1.3.3 parallel.device you may use the `turbo' (-T) option to get more
  512. speed. Do not use the compression mode.
  513. end_desc
  514. #
  515.  
  516. printer CheapDJ
  517. optimize    on
  518. description
  519. This driver is for the HP DeskJet. It works like the DeskJet driver
  520. with one exception: it uses the cheap mode of the printer, thus saving
  521. some ink. Use the compression mode.
  522. end_desc
  523. #
  524.  
  525. printer CheapDJ
  526. optimize    off
  527. description
  528. This driver is for the HP DeskJet. It works like the DeskJet driver
  529. with one exception: it uses the cheap mode of the printer, thus saving
  530. some ink. Do not use the compression mode.
  531. end_desc
  532. #
  533.  
  534. printer LaserJet
  535. optimize    on
  536. description
  537. This driver is for the HP LaserJet. It is nearly the same as the
  538. DsekJet driver. It uses no Font-Downloading. Sorry.
  539. Use the compression mode.
  540. end_desc
  541. #
  542.  
  543. printer LaserJet
  544. optimize    off
  545. description
  546. This driver is for the HP LaserJet. It is nearly the same as the
  547. DsekJet driver. It uses no Font-Downloading. Sorry.
  548. Do not use the compression mode.
  549. end_desc
  550. #
  551.  
  552. printer LaserJet4
  553. optimize    on
  554. description
  555. This driver is for the HP LaserJet 4. It is nearly the same as the
  556. DsekJet driver. It uses no Font-Downloading. Sorry.
  557. Normal mode use 600dpi, draft uses 300dpi.
  558. Use the compression mode.
  559. end_desc
  560. #
  561.  
  562. printer LaserJet4
  563. optimize    off
  564. description
  565. This driver is for the HP LaserJet 4. It is nearly the same as the
  566. DsekJet driver. It uses no Font-Downloading. Sorry.
  567. Normal mode use 600dpi, draft uses 300dpi.
  568. Do not use the compression mode.
  569. end_desc
  570. #
  571.  
  572.  
  573. printer        NECP7
  574. draft        off
  575. ;optimize    off        ; optimization does not matter
  576. resolution    360
  577. ID_str        NEC P7 360dpi (POINT)
  578. description
  579. This is a driver for the NEC P7 printer, which has an extra large
  580. tractor, 13.6 inch wide.
  581. end_desc
  582. gfx_str        FS 'Z' LOW HIGH
  583. skip_str    FS '3' LOW 10
  584. skips        1 47
  585. height        48
  586. blank        POINT
  587. grouping    3
  588. init_str    ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
  589. exit_str    ESC 48
  590. paper_width    13.6in
  591. #
  592.  
  593. printer        NECP7
  594. draft        on
  595. ;optimize    off        ; optimization does not matter
  596. resolution    180
  597. ID_str        NEC P7 180dpi (POINT)
  598. description
  599. This is a driver for the NEC P7 printer, which has an extra large
  600. tractor, 13.6 inch wide.
  601. end_desc
  602. gfx_str        FS 'Z' LOW HIGH
  603. skip_str    FS '3' LOW 10
  604. skips        24
  605. height        24
  606. blank        POINT
  607. grouping    3
  608. init_str    ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
  609. exit_str    ESC 48
  610. paper_width    13.6in
  611. #
  612.  
  613.  
  614. printer        FujitsuDL1100
  615. draft        off
  616. optimize    off
  617. ID_str        FujitsuDL1100 (SPACES)
  618. description
  619. Fujitsu DL1100 mit Befehlssprache DPL24C+, Blankmethode SPACES
  620. end_desc
  621. resolution    360
  622. gfx_str        ESC '*' 40 LOW HIGH
  623. skip_str    13 ESC 'e' 'J' NR100 NR10 NR1
  624. skips        1 47
  625. height        48
  626. blank        SPACES
  627. grouping    3
  628. init_str    ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
  629. exit_str    ESC 64
  630. paper_width    8.0in
  631. #
  632.  
  633. printer        FujitsuDL1100
  634. draft        off
  635. optimize    on
  636. ID_str        FujitsuDL1100 (GFX)
  637. description
  638. Fujitsu DL1100 mit Befehlssprache DPL24C+
  639. end_desc
  640. resolution    360
  641. gfx_str        ESC '*' 40 LOW HIGH
  642. skip_str    13 ESC 'e' 'J' NR100 NR10 NR1
  643. skips        1 47
  644. height        48
  645. blank        GFX
  646. grouping    3
  647. init_str    ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
  648. exit_str    ESC 48
  649. paper_width    8.0in
  650. #
  651.  
  652.  
  653. printer        BJ300
  654. draft        off
  655. ;optimize    on    ; any choice
  656. resolution    360
  657. ID_str        Canon BJ 300 360dpi (SPACES)
  658. description
  659.   Canon BJ300 in IBM Proprinter emulation mode.
  660.   For  best  results,  use  your BJ300 in Prowriter mode only, so
  661.   that  one line can be printed in one pass.  In the Epson LQ mode,
  662.   a single pass can only print 360x180 dpi.
  663.   Please note, that it matters whether the printer is in HQ (High
  664. Quality)  or  HS  (High Speed) mode!
  665. (From: Martin_Horneffer@mowgli.fido.de (Martin Horneffer))
  666. end_desc
  667. gfx_str         FS 'C' 'B' 4 4 LOW HIGH
  668. skip_str        FS 'C' 'J' 4 LOW 13
  669. skips           48
  670. height          48
  671. blank           SPACES
  672. grouping        6
  673. init_str    ESC 'R' ESC 'I' 2
  674. exit_str    13
  675. paper_width    8.0in
  676. #
  677.  
  678. printer        BJ300
  679. draft        on
  680. ;optimize    on    ; any choice
  681. resolution    360/180
  682. ID_str        Canon BJ 300 360/180dpi (SPACES)
  683. description
  684.   Canon BJ300 in IBM Proprinter emulation mode.
  685.   Only  dviprint and transfer to the printer will be faster.
  686.   The printer  itself  uses  the  same  resolution  (and  speed)
  687.   as in 360x360dpi mode and makes makes every dot a little square.
  688.   You  might  siwtch  the  printer to HS mode manually, or change
  689.   'init_str' to "ESC 'R' ESC 'I' 0"
  690.   (From: Martin_Horneffer@mowgli.fido.de (Martin Horneffer))
  691. end_desc
  692. gfx_str         FS 'C' 'B' 0 4 LOW HIGH
  693. skip_str        FS 'C' 'J' 0 LOW 13
  694. skips           24
  695. height          24
  696. blank           SPACES
  697. grouping        3
  698. init_str    ESC 'R' ESC 'I' 2
  699. exit_str    13
  700. paper_width    8.0in
  701. #
  702.  
  703. printer         BJ200
  704. draft           off
  705. ;optimize       on      ; any choice
  706. resolution      360
  707. ID_str          Canon BJ 200 360dpi (SPACES)
  708. description
  709.   Canon BJ 200 in IBM Proprinter emulation mode.
  710.   For best results use your BJ200 in BJ10 mode only, so that one line
  711.   can be printed in one pass. In the Epson LQ mode, a single pass can
  712.   only print 360x180 dpi. Please note that it matters whether the
  713.   printer is in HQ (High Quality) or HS (High Speed) mode.
  714.   (From: Martin_Horneffer@mowgli.fido.de (Martin Horneffer))
  715.   (Modified by Dietmar Heidrich)
  716. end_desc
  717. gfx_str         FS 'C' 'B' 4 4 LOW HIGH
  718. skip_str        FS 'C' 'J' 4 LOW 13
  719. skips           48
  720. height          48
  721. blank           SPACES
  722. grouping        6
  723. init_str        ESC 'R' ESC 'I' 2
  724. exit_str        13
  725. paper_width     8.0in
  726. #
  727.  
  728. printer         BJ200
  729. draft           on
  730. ;optimize       on      ; any choice
  731. resolution      360
  732. ID_str          Canon BJ 200 360dpi (SPACES)
  733. description
  734.   Canon BJ 200 in IBM Proprinter emulation mode with draft.
  735.   Please note that the printer remains in draft mode when the print
  736.   job is done.
  737.   (From: Martin_Horneffer@mowgli.fido.de (Martin Horneffer))
  738.   (Modified by Dietmar Heidrich)
  739. end_desc
  740. gfx_str         FS 'C' 'B' 4 4 LOW HIGH
  741. skip_str        FS 'C' 'J' 4 LOW 13
  742. skips           48
  743. height          48
  744. blank           SPACES
  745. grouping        6
  746. init_str        ESC 'R' ESC 'I' 0
  747. exit_str        13
  748. paper_width     8.0in
  749. #
  750.  
  751.  
  752. printer        BJ130draft
  753. draft        off
  754. optimize    on
  755. ID_str        Canon BJ130 180dpi (SPACES)
  756. description
  757. Canon BJ130 draft 180dpi, Blankmethode SPACES
  758. (From: Norvald Espedal <norvald@broremann.hsr.no>)
  759. end_desc
  760. resolution    180
  761. gfx_str        FS 'C' 'B' 0 0 LOW HIGH
  762. skip_str    13 13 FS 'C' 'J' 0 LOW 
  763. skips        24
  764. height      24
  765. blank        SPACES
  766. grouping    3
  767. init_str    18 ESC 'P' 0 ESC 'l' 0 ESC 'Q' LOW
  768. exit_str    13 ESC 64
  769. paper_width    8.0in
  770. #
  771.  
  772. printer        BJ130
  773. draft        off
  774. optimize    on
  775. ID_str        Canon BJ130 360dpi (SPACES)
  776. description
  777. Canon BJ130 360dpi, Blankmethode SPACES
  778. (From: Norvald Espedal <norvald@broremann.hsr.no>)
  779. end_desc
  780. resolution    360
  781. gfx_str        FS 'C' 'B' 4 4 LOW HIGH
  782. skip_str    13 13 FS 'C' 'J' 4 LOW 
  783. skips        48
  784. height      48
  785. blank        SPACES
  786. grouping    6
  787. init_str    18 ESC 'G' ESC 'P' 0 ESC 'l' 0 ESC 'Q' LOW
  788. exit_str    13 ESC 64
  789. paper_width    8.0in
  790. #
  791.  
  792. printer CanonLBP
  793. description
  794. This driver is for the Canon laserwriter.
  795. It is not finished. It may work or not!!
  796. end_desc
  797. #
  798.  
  799. ;    Keywords and possibilities:
  800. ;
  801. ; printer
  802. ;    - no space allowed in name, avoid $ as may be filtered out by
  803. ;      some shells.
  804. ;    - This keyowrd starts a configuration definition. If other
  805. ;      keywords are found first, an 'out of context' error will
  806. ;      occur.
  807.  
  808. ; draft
  809. ;    - should come (if used) after the printer keyword.
  810. ;    - allows to choose different definitions according to the
  811. ;      draft option supplied to DVIprint. If not used, the first
  812. ;      matching definition will be used. DViprint's default is
  813. ;      draft off.
  814. ;
  815. ;    This does not change the work of the driver. It's only for
  816. ;    you, to distinguish different entries.
  817.  
  818. ; optimize
  819. ;    - should come (if used) after the printer keyword. 'draft' and
  820. ;      'optimize' may come in any order.
  821. ;    - allows to choose different definitions according to the
  822. ;      optimize option supplied to DVIprint. If not used, the first
  823. ;      matching definition will be used. DVIprint's default is
  824. ;      optimize on.
  825. ;
  826. ;    This does not change the work of the driver. It's only for
  827. ;    you, to distinguish different entries. With draft and otimize,
  828. ;    you can make 4 different entries for 'one' printer name.
  829.  
  830. ; ID_str
  831. ;     - use recommend.
  832. ;    - only one line long.
  833. ;    - will be put in logfile, for information
  834. ;    - should come after 'printer', 'draft', and 'optimize', this
  835. ;      for efficiency while parsing the configuration file.
  836.  
  837. ; The following keywords are reserved for the standard (i.e. the one
  838. ; that you can define) drivers only. They cannot be used with the
  839. ; special drivers DVIprint knows about (generic, SLM084(ATARI only),
  840. ; DeskJet, and CheapDJ)
  841.  
  842. ; resolution
  843. ;     - unit (implizit): dpi
  844. ;     - <nn> for square resolution (like NEC 360 dvpi)
  845. ;    - <hh/vv> for non square ones (like FX 80, Epson LQ 800 360/180
  846.  
  847. ; gfx_str
  848. ;     - sequence sent to the printer to initiate a graphics sequence
  849. ;    - Allows parameters LOW, HIGH: the number of bytes sent will
  850. ;      be inserted (number of bytes/3 for 24 pin printers)
  851.  
  852. ; skip_str
  853. ;     - sequence sent to the printer to skip lines, the number of
  854. ;      lines is given by the 'skips' keyword. Only the LOW
  855. ;      parameter is allowed, meaning that DVIprint is not able to
  856. ;      skip more than 255 line in one command
  857. ;    - the string may or may not depend on the printers resolution,
  858. ;      as some skip commands skip n/216, n/180, or n/360 dpi wide.
  859.  
  860. ; skips
  861. ;     - array of numbers. In each pass, the corresponding number is
  862. ;      given as the LOW parameter to the skip_str command.
  863. ;    - DVIprint will generate as many passes as number found here.
  864.  
  865. ; height
  866. ;     - because printers have a given number of pins and print them
  867. ;      in one row, and because DVIprint can will print all passes
  868. ;      as defined in the 'skips' array, the height of the internal
  869. ;      bitmap must be a multiple of this value. For example, the
  870. ;      NEC prints 24 pins in one row, but prints in two passes in
  871. ;      20dpi mode, the heigt must be a multiple of 48. The Epson FX
  872. ;      prints 240/216dpi in 3 passes, has 8 pins in one row, thus
  873. ;      the value of 24. If this value is not correct, DVIprint may
  874. ;      read innocent memory an print garbage graphics on the
  875. ;      document!
  876.  
  877. ; blank
  878. ;     - chooses between 3 blanking methods:
  879. ;      - GFX: From the left edge of where graphics really starts
  880. ;        (not the left border of the printer), to the right end of
  881. ;        the graphics (not the right border of the printer), a
  882. ;        single graphics command is used. Spaces are used to fill
  883. ;        the left border.
  884. ;      - SPACES: Spaces are used to fill the left border, but are
  885. ;        also used when between the left and the right border,
  886. ;        there is enough room for at least 6 spaces. this speeds up
  887. ;        printing of large tables which have borders.
  888. ;      - POINT: Every space is skipped by the use of the ESC '$'
  889. ;        command. This is the most efficient method in terms of
  890. ;        bytes sent to the printer, but *not* all printers support
  891. ;        this command. (My Star SG10 doesn't)
  892.  
  893. ; grouping
  894. ;     - define if this printer has 8 or 24 pins (or better if 8 or
  895. ;      24 pins should be used in this configuration, as you can for
  896. ;      example print Epson FX wise on the NEC P6, using only 8
  897. ;      pins, the corresponding entry then says 8)
  898.  
  899. ; paper_width
  900. ;     - specified in a TeX dimension (as used to define the offsets
  901. ;      in ShowDVI und DViprint).
  902. ;     - used to usually define the width of your printer, or if you
  903. ;      have special paper, such as for printing labels, you may set
  904. ;      the appropriate value here. This will avoid printing garbage
  905. ;      over the right edge of your labels, even if you misdefine
  906. ;      the page size for these in your .tex document
  907. ;    - this entry was first added because of the US vs. European
  908. ;      paper_width problem. Many TeX documents are defined 8.5 inch
  909. ;      wide paper, but most printers are only 8 inch wide, and do
  910. ;      not allow any programm to send them too much data (you then
  911. ;      eventually had to reset your printer manually). Thus this
  912. ;      value is *important*!
  913.  
  914. ; init_str
  915. ;    - used to initialze the printer. It is important that the
  916. ;      printer is set in pica mode for the spaces (and GFX)
  917. ;      blanking method to work, otherwise the printout will be
  918. ;      misaligned.
  919. ;    - It is also important that the margins be set, otherwise your
  920. ;      printout may be lacking the right side, not start on the
  921. ;      left border, present superfluous skips causing lots of
  922. ;      unaesthetic and unusable printouts.
  923. ;    - the left border should be set to 0
  924. ;    - right border sould be set to some really useful value (for
  925. ;      example 80 pica positions for all the 8 inch wide printers).
  926. ;      The use of the LOW parameter permits a setting of the width
  927. ;      according to the 'paper_width' keyword. The LOW value thus
  928. ;      holds the number of pica characters that your printer is
  929. ;      able to print. It is therefore important that the printer be
  930. ;      set to pica mode first!
  931.  
  932. ; exit_str
  933. ;     - used to reset printers, in case the hardcopy modified
  934. ;      important parameters like the line spacing.
  935. ;    - normally unused except for NEC P6/P7 in 360 dpi mode,
  936. ;      because then the printer skips lines by setting the line
  937. ;      height to 1/360 inch, thus the need to reset it at the end.
  938. ;    - this string is not used if the printing is aborted.
  939. ;    - I recommend an exit_str containing at least CR, to force the
  940. ;      printer to flush its internal buffer.
  941.  
  942. ; prtbuffer
  943. ;     - Data are being buffered in a buffer that large before being
  944. ;      sent to the printer.device.
  945. ;    - Epson FX amd compatibles are known to cause 'printer
  946. ;      trouble' requesters with the default value of DVIprint
  947. ;      (currently 10K), because DVIprints optimizations result in
  948. ;      less data being sent to the printer, while still using 10K
  949. ;      blocks, and then the printer.device wonders why the printer
  950. ;      needs so much time to print 'only' 10K. This happens more on
  951. ;      partially white pages, because skipping lines takes a lot of
  952. ;      time to printers. I does not usually happen on loaded pages,
  953. ;      because the buffer then gets filled rapidly. A value between 4000
  954. ;      and 5000 bytes is recommdend for the Epson FX.
  955.  
  956. ; description
  957. ;     - should come towards end of printer configuration.
  958. ;     - Every line till the 'end_desc' keyword is dumped to the
  959. ;      Screen if you start DVIprint with 'DVIprint [printer <name>]
  960. ;      ShowPrinters'. That way you can get a quick overview of the
  961. ;      different modes available for a given printer.
  962.  
  963. ; end_desc
  964. ;     - marks end of description
  965.  
  966. ; Further notes:
  967.  
  968. ; Use 'DVIprint showprinters' to see available names and ID_strings
  969. ; (that's why it's nice to define the ID_str)
  970.  
  971. ; Use 'DVIprint printer <name> [draft [on|off]] [optimize [on|off]]
  972. ; showprinters' to get a screen dump of the actual configuration. This
  973. ; will help you ensure that DVIprint got the correct values. You can
  974. ; even supply a DVI file name.
  975.  
  976. ;    J\"org H\"ohle
  977. ;           6-Aug-1991
  978.